package com.webdev.base.util;

public class Constants {
    public static final String TOKEN_USERID = "user_id";
    public static final String REDIS_USERTOKEN = "user_token:";
    public static final String REDIS_GOODSKEY = "goods_id:";
    //标记订单，及时过滤已经秒杀成功的用户
    public static final String REDIS_ORDERKEY = "order:";
    //标记库存为空的商品
    public static final String REDIS_EMPTYGOODSKEY = "empty:";
    //防止同一时间同一个用户大量请求
    public static final String REDIS_HANDLINGUSER = "handling:";
    //商品开始秒杀时间
    public static final String REDIS_GOODSSTARTKEY = "starttime:";
    //商品结束秒杀时间
    public static final String REDIS_GOODSENDKEY = "endtime:";
}
